﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Common;

namespace PostSubmit
{
    public partial class DeletePNR : Form
    {
        public DeletePNR()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string url = "http://172.16.2.28:801/FlyDll2DO.ashx?type=CancelPnr&param=" + StringPlus.ReplaceSpaceAndEnter(txtPNR.Text);
            string result = HttpRequestHelper.GetRequest(url);
            MessageBox.Show(result);
        }
    }
}
